package settings.model;

import java.io.File;

import lib.library.LibraryActionType;
import lib.library.LibraryOtherFileActionType;

public class LibrarySettings {

    private String libraryFilenameStructure, libraryFolderStructure;
    private File libraryFolder;
    private boolean libraryReplaceSpace;
    private boolean libraryIncludeLanguageCode, libraryReplaceChars;
    private boolean libraryRemoveEmptyFolders, libraryUseTVDBNaming;
    private String defaultNlText, defaultEnText;
    private LibraryActionType libraryAction;
    private LibraryOtherFileActionType libraryOtherFileAction;
    private String libraryReplacingSign;

    public LibrarySettings() {
        libraryFilenameStructure = "";
        libraryFolderStructure = "";
        libraryReplaceSpace = false;
        libraryFolder = null;
        libraryIncludeLanguageCode = false;
        libraryReplaceChars = false;
        libraryUseTVDBNaming = false;
        libraryAction = LibraryActionType.NOTHING;
        libraryOtherFileAction = LibraryOtherFileActionType.NOTHING;
        libraryReplacingSign = "";
    }

    public String getLibraryFilenameStructure() {
        return libraryFilenameStructure;
    }

    public void setLibraryFilenameStructure(String libraryFilenameStructure) {
        this.libraryFilenameStructure = libraryFilenameStructure;
    }

    public String getLibraryFolderStructure() {
        return libraryFolderStructure;
    }

    public void setLibraryFolderStructure(String libraryFolderStructure) {
        this.libraryFolderStructure = libraryFolderStructure;
    }

    public File getLibraryFolder() {
        return libraryFolder;
    }

    public void setLibraryFolder(File libraryFolder) {
        this.libraryFolder = libraryFolder;
    }

    public boolean isLibraryReplaceSpace() {
        return libraryReplaceSpace;
    }

    public void setLibraryReplaceSpace(boolean libraryReplaceSpace) {
        this.libraryReplaceSpace = libraryReplaceSpace;
    }

    public boolean isLibraryIncludeLanguageCode() {
        return libraryIncludeLanguageCode;
    }

    public void setLibraryIncludeLanguageCode(boolean libraryIncludeLanguageCode) {
        this.libraryIncludeLanguageCode = libraryIncludeLanguageCode;
    }

    public void setLibraryReplaceChars(boolean libraryReplaceChars) {
        this.libraryReplaceChars = libraryReplaceChars;
    }

    public boolean isLibraryReplaceChars() {
        return libraryReplaceChars;
    }

    public void setLibraryRemoveEmptyFolders(boolean libraryRemoveEmptyFolders) {
        this.libraryRemoveEmptyFolders = libraryRemoveEmptyFolders;
    }

    public boolean isLibraryRemoveEmptyFolders() {
        return libraryRemoveEmptyFolders;
    }

	public void setDefaultNlText(String defaultNlText) {
		this.defaultNlText = defaultNlText;
	}

	public String getDefaultNlText() {
		return defaultNlText;
	}

	public void setDefaultEnText(String defaultEnText) {
		this.defaultEnText = defaultEnText;
	}

	public String getDefaultEnText() {
		return defaultEnText;
	}

	public boolean isLibraryUseTVDBNaming() {
		return libraryUseTVDBNaming;
	}

	public void setLibraryUseTVDBNaming(boolean libraryUseTVDBNaming) {
		this.libraryUseTVDBNaming = libraryUseTVDBNaming;
	}

    /**
     * @return the libraryAction
     */
    public LibraryActionType getLibraryAction() {
        return libraryAction;
    }

    /**
     * @param libraryAction the libraryAction to set
     */
    public void setLibraryAction(LibraryActionType libraryAction) {
        this.libraryAction = libraryAction;
    }

    /**
     * @return the libraryOtherFileAction
     */
    public LibraryOtherFileActionType getLibraryOtherFileAction() {
        return libraryOtherFileAction;
    }

    /**
     * @param libraryOtherFileAction the libraryOtherFileAction to set
     */
    public void setLibraryOtherFileAction(LibraryOtherFileActionType libraryOtherFileAction) {
        this.libraryOtherFileAction = libraryOtherFileAction;
    }

    /**
     * @return the libraryReplacingSign
     */
    public String getLibraryReplacingSign() {
        return libraryReplacingSign;
    }

    /**
     * @param libraryReplacingSign the libraryReplacingSign to set
     */
    public void setLibraryReplacingSign(String libraryReplacingSign) {
        this.libraryReplacingSign = libraryReplacingSign;
    }
}
